package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_cookboy2_pick_food", desc = "小当家2-挑菜记录", autoSave = true, uploadCk = true)
public class LogCookBoy2PickFood extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "合成出的主菜")
    private int foodId;
    @FieldTypeAnnotation(desc = "消耗数量")
    private int costNum;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "是否和了四次了，四次表示合完了")
    private int isFinish;

    public LogCookBoy2PickFood(int activityId, long userId, int foodId, int costNum, String reward, int isFinish) {
        this.activityId = activityId;
        this.userId = userId;
        this.foodId = foodId;
        this.costNum = costNum;
        this.reward = reward;
        this.isFinish = isFinish;
    }

    public long getUserId() {
        return userId;
    }

}
